import Vue from 'vue'
import Router from 'vue-router'
import Index from '../components/index'
import VueForm from '../components/vueform.vue'
import ElmForm from '../components/elmForm.vue'
import IvForm from '../components/iviewForm.vue'


Vue.use(Router);

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/form',
      name: 'VueForm',
      component: VueForm
    },
    {
      path: '/elmform',
      name: 'ElmForm',
      component: ElmForm
    },
    {
      path: '/ivform',
      name: 'IvForm',
      component: IvForm
    }
  ]
})
